<?
$dbtype = 'mysql';
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'saolaithe';
$dbname = 'ketoan';
$connect = mysql_connect($dbhost,$dbuser,$dbpass) or die('cannot connect to mysql server');
$db_select = mysql_select_db($dbname,$connect) or die('cannot access to database');
@mysql_query("SET NAMES 'UTF8'");
date_default_timezone_set('Asia/Ho_Chi_Minh');
require 'includes/smarty/Smarty.class.php';
$itt = new Smarty;
$itt->cache_lifetime = 120;
?>